package com.yiya.model;

public class DistrictCplex {
    private Integer code;

    private String name;

    private Integer level;

    private DistrictCplex parentDistrict;

    private Integer delFlag;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

	public void setParentDistrict(DistrictCplex parentDistrict) {
		this.parentDistrict = parentDistrict;
	}

	public DistrictCplex getParentDistrict() {
		return parentDistrict;
	}
}